/**
 * Created by Administrator on 2016/4/3.
 */
import java.util.*;

public class Sort4 {
    public static void main(String[] args){
        List words=Arrays.asList("B","X","A","M","F","W","O");
        Collections.sort(words);
        System.out.println(words);
    }
}
